_T_I_F_F_S_e_t_D_i_r_e_c_t_o_r_y changes the current directory and reads its contents
with _T_I_F_F_R_e_a_d_D_i_r_e_c_t_o_r_y. The parameter _d_i_r_n_u_m specifies the
subfile/directory as an integer number, with the first directory numbered
zero.
_T_I_F_F_S_e_t_S_u_b_D_i_r_e_c_t_o_r_y acts like _T_I_F_F_S_e_t_D_i_r_e_c_t_o_r_y, except the directory is
specified as a file offset instead of an index; this is required for
accessing subdirectories linked through a _S_u_b_I_F_D tag.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
On successful return 1 is returned. Otherwise, 0 is returned if _d_i_r_n_u_m
or _d_i_r_o_f_f specifies a non-existent directory, or if an error was
encountered while reading the directory's contents.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
All error messages are directed to the _T_I_F_F_E_r_r_o_r(3T) routine.
%%%%ssss:::: EEEErrrrrrrroooorrrr ffffeeeettttcccchhhhiiiinnnngggg ddddiiiirrrreeeeccccttttoooorrrryyyy ccccoooouuuunnnntttt. An error was encountered while
reading the ``directory count'' field.
%%%%ssss:::: EEEErrrrrrrroooorrrr ffffeeeettttcccchhhhiiiinnnngggg ddddiiiirrrreeeeccccttttoooorrrryyyy lllliiiinnnnkkkk. An error was encountered while
reading the ``link value'' that points to the next directory in a file.